package com.woniu.product.service;

import com.github.pagehelper.PageInfo;
import com.woniu.product.dto.curriculum.CurriculumDto;
import com.woniu.product.model.Curriculum;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.product.param.LoadListClassParam;
import com.woniu.product.param.ScheduleClassParam;
import com.woniu.product.param.curriculum.AddCurriculumParam;
import com.woniu.product.param.curriculum.LoadCurriculumParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
public interface CurriculumService extends IService<Curriculum> {

    void scheduleClass(ScheduleClassParam param)throws Exception;

    List<Curriculum> loadListClass(LoadListClassParam param);

    void notarizeClass(Integer coachId, Integer classId);

    List<Curriculum> loadByClassId(Integer curriculumId)throws Exception;

    PageInfo<CurriculumDto> loadCurriculum(LoadCurriculumParam param);

    void addCurriculums(List<AddCurriculumParam> params);
}
